//
//  BOSSuggestViewController.m
//  LeftDemo
//
//  Created by bosma on 14-4-14.
//  Copyright (c) 2014年 cn.com.bosma. All rights reserved.
//

#import "BOSSuggestViewController.h"

@interface BOSSuggestViewController ()

@end

@implementation BOSSuggestViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.title = @"建议";
    UIBarButtonItem * suggestBackBtn = [[UIBarButtonItem alloc]initWithTitle:@"返回" style:UIBarButtonItemStylePlain target:self action:@selector(suggestBackBtnAction:)];
    self.navigationItem.leftBarButtonItem = suggestBackBtn;
}

- (void)suggestBackBtnAction:(id)sender
{
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
